<?php
$this->pageTitle = BUtils::T('meta_title_seo');
$this->breadcrumbs = array();
?>
<style>
.q{color:red;}
.q-text{color:white;}
body {background-image: url('<?php echo Yii::app()->request->baseUrl; ?>/img/launch_bg.jpg');
background-size:cover;-webkit-background-size:cover;background-position:center bottom;background-repeat:no-repeat;background-attachment:fixed;
}
</style>
<div class="launchbox dark" style="margin-left:100px; margin-right:-200px;">
	<div class="right clearfix">
		<img src="<?php echo Yii::app()->request->baseUrl; ?>/img/logo.icon.114.png" style="width:100px;height:100px;" />
	</div>
	<div style="color:#fff">
		<h4 style="font-size:24px; line-height:26px;"><?php echo BUtils::T('yamii_pre_ask_msg'); ?></h4>
		<br />
		<h4 style="font-size:24px; line-height:26px; color:#6FD8FC;"><?php echo BUtils::T('yamii_pre_lunch_msg'); ?></h4>
		<br />
		<?php echo BUtils::T('yamii_pre_leave_email_msg'); ?></p>
		<div class="form-vertical">
<?php
echo CHtml::beginForm('', 'post', array('class'=>'form-inline'));
echo CHtml::textField('launch_email', '', array('class'=>'size-large'));
echo CHtml::ajaxSubmitButton('GO', '', array('success'=>'show_info'), array('class'=>'btn btn-danger btn-large'));
echo CHtml::endForm();
?>
		</div>
		<div id="update" style="font-weight:bold; margin-bottom:20px;">
		</div>
		<div class="addthis_toolbox addthis_default_style addthis_32x32_style" id="add_this_big" style="display:none;">
			<a class="addthis_button_preferred_1"></a>
			<a class="addthis_button_preferred_2"></a>
			<a class="addthis_button_preferred_3"></a>
			<a class="addthis_button_preferred_4"></a>
			<a class="addthis_button_compact"></a>
			<a class="addthis_counter addthis_bubble_style"></a>
		</div>
	</div>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-506364665c092bbf"></script>
<script>
function show_info(data) {
	$('#update').html(data);
	$('#add_this_big').show();
}
</script>
